import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

App.mpType = 'app'

import service from "js/service.js";
Vue.prototype.$service=service;


import home from "@/pages/index/home.vue";
Vue.component('home',home);
import commodity from "@/pages/commodity/commodity.vue";
Vue.component('commodity',commodity);
import news from "@/pages/news/news.vue";
Vue.component('news',news);
import usercomment from "@/pages/usercomment/usercomment.vue";
Vue.component('usercomment',usercomment);
import searchBox from "@/pages/other/searchBox/searchBox.vue";
Vue.component('searchBox',searchBox);


const app = new Vue({
    ...App
})
app.$mount()
